Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
It there another way to use "export default new Vuex.Store" on Vue 3?

I have problem with using commit like is described here. Probably problem is in that I use export default new Vuex.Store.

Here is my index.js file, i unfortunately have : warning in ./src/store/index.js "export 'default' (imported as 'Vue') was not found in 'vue' where I use Vuex and I want to call commit:

import Vue from 'vue'
import Vuex from "vuex";

Vue.use(Vuex);

import state from "./state";
import * as getters from './getters';
import * as mutations from'./mutations';
import * as actions from './actions';

export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions
});
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!